def _get_dynamic_roi(self, image, area_type):
    """动态计算ROI区域"""
    current_res = self.capturer.get_dynamic_resolution()
    # 基准分辨率下的预设区域
    base_areas = {
        'sun_area': (0.02, 0.05, 0.15, 0.08),
        'zombie_list': (0.7, 0.2, 0.95, 0.8)
    }
    x1 = int(base_areas[area_type][0] * current_res[0])
    y1 = int(base_areas[area_type][1] * current_res[1])
    x2 = int(base_areas[area_type][2] * current_res[0])
    y2 = int(base_areas[area_type][3] * current_res[1])
    return image[y1:y2, x1:x2]